package io.github.xxyopen.novel.dto.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NovelSearchRespDto {
    /**
     * @var 搜索结果状态，成功，返回true搜索成功信息，失败返回false
     */
    @Schema(description = "搜索结果状态，成功，返回true搜索成功信息，失败返回false")
    private   Boolean isSuccess;


    /**
     * @var 执行结果信息
     */
    @Schema(description = "执行结果提示信息")
    private  String msg;

    @Schema(description = "匹配数量")
    private Integer matched;

    /**
     * @var 执行结果数据
     */    @Schema(description = "执行结果数据")
    private List<NovelInfoRespDto> data;
}